package org.wkg.lesson06;

public class Demo_602 {

    public static void main(String[] args) {

        SingletonLazy instance1 = SingletonLazy.getInstance();
        SingletonLazy instance2 = SingletonLazy.getInstance();
        SingletonLazy instance3 = SingletonLazy.getInstance();
        SingletonLazy instance4 = SingletonLazy.getInstance();

        System.out.println(instance1);
        System.out.println(instance2);
        System.out.println(instance3);
        System.out.println(instance4);


        /*for (int i = 0; i <10; i++) {
            SingletonLazy instance = SingletonLazy.getInstance();
            System.out.println(instance);
        }*/

    }
}
